package com.dst.service;
import com.dst.entity.Phone;
import com.github.pagehelper.PageInfo;

import java.util.*;
public interface PhoneService {
    List<Phone> selectAll();
    void delete(int id);
    Phone selectById(int id);
    void update(Phone phone);
    void insert(Phone phone);
    void deleteBatch(int [] ids);
    void deletePhone(int id);
    PageInfo<Phone> selectLimitAll(int curpage,int pagesize);
}
